package trash.Test;

public class TmpTest
{

    public static void main(String[] args)
    {
        System.out.println("Lala".hashCode());
        System.out.println("Kaka" instanceof String);
        System.out.println(new Integer(9000) instanceof Integer);

        System.out.println(Void.TYPE == TmpTest.class.getMethods()[0].getReturnType());
        System.out.println(Integer.BYTES);
        System.out.println(Integer.SIZE);

        System.out.println(Float.SIZE);
        System.out.println(Float.BYTES);

        m1();
        m2();
    }

    static void m1()
    {
        double d = 8e+307;
        System.out.println(4.0 * d * 0.5);
        System.out.println(2.0 * d);
        //double d = Double.MAX_VALUE;
        System.out.println("This value \"" + ((d * 1.1) / 1.1) + "\" cannot be represented as double.");
        System.out.println(Math.sin(Math.PI));
    }

    static strictfp void m2()
    {
        double d = 8e+307;
        System.out.println(4.0 * d * 0.5);
        System.out.println(2.0 * d);
        //double d = Double.MAX_VALUE;
        System.out.println("This value \"" + ((d * 1.1) / 1.1) + "\" cannot be represented as double.");
        System.out.println(Math.sin(Math.PI));
        //не 1.2246 063538223773e-16, а 1.2246 467991473532E-16,
    }
}
